package common.customer.dao;

import common.base.GenericDao;
import common.customer.bean.Customer;

public interface CustomerDao extends GenericDao<Customer, Integer>{
	public Customer getCustomerByNameAndPass(String name,String password);
	public Customer getCustomerByName(String name);
	public int countCustomer();
	public int countCustomerByCityId(int cityId);
	public int countCustomerByName(String name);
	public Customer getCustomerByUUID(String uuid);
	public boolean testNichengExist(int customerId, String nicheng);
}
